package cn.com.code.generator.dao;

import cn.com.code.generator.entity.User;
import cn.com.code.generator.vo.UserReqPageVO;
import cn.com.code.generator.vo.UserRespPageVO;
import cn.com.do1.dsf.compont.mysql.utils.Query;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author nick
 * @email sunlightcs@gmail.com
 * @date 2021-05-02 13:03:03
 */
@Mapper
public interface UserDao extends BaseMapper<User> {

    List<UserRespPageVO> searchUserPage(Page page,@Param("params") UserReqPageVO params);

    List<UserRespPageVO> searchUserPageParam(Page page,@Param("params")  Query query);
}
